package com.localjoycommunity.cpdj.project.system.service;

import java.util.List;
import com.localjoycommunity.cpdj.project.system.domain.LeagueBranch;

/**
 * 团支部Service接口
 * 
 * @author aqie
 * @date 2020-11-04
 */
public interface ILeagueBranchService 
{
    /**
     * 查询团支部
     * 
     * @param id 团支部ID
     * @return 团支部
     */
    public LeagueBranch selectLeagueBranchById(Long id);

    /**
     * 查询团支部列表
     * 
     * @param leagueBranch 团支部
     * @return 团支部集合
     */
    public List<LeagueBranch> selectLeagueBranchList(LeagueBranch leagueBranch);

    /**
     * 新增团支部
     * 
     * @param leagueBranch 团支部
     * @return 结果
     */
    public int insertLeagueBranch(LeagueBranch leagueBranch);

    /**
     * 修改团支部
     * 
     * @param leagueBranch 团支部
     * @return 结果
     */
    public int updateLeagueBranch(LeagueBranch leagueBranch);

    /**
     * 批量删除团支部
     * 
     * @param ids 需要删除的团支部ID
     * @return 结果
     */
    public int deleteLeagueBranchByIds(Long[] ids);

    /**
     * 删除团支部信息
     * 
     * @param id 团支部ID
     * @return 结果
     */
    public int deleteLeagueBranchById(Long id);
}
